package com.aiyige.base.eventbus;

import com.aiyige.page.my.customer.model.CustomerFollowupEntity;

/**
 * 添加跟进
 */
public class EventCustomerFollowupAddSuccess {
    public CustomerFollowupEntity getCustomerFollowupEntity() {
        return customerFollowupEntity;
    }

    public void setCustomerFollowupEntity(CustomerFollowupEntity customerFollowupEntity) {
        this.customerFollowupEntity = customerFollowupEntity;
    }

    CustomerFollowupEntity customerFollowupEntity;

    public EventCustomerFollowupAddSuccess() {
    }

    public EventCustomerFollowupAddSuccess(CustomerFollowupEntity customerFollowupEntity) {
        this.customerFollowupEntity = customerFollowupEntity;
    }

    private EventCustomerFollowupAddSuccess(Builder builder) {
        setCustomerFollowupEntity(builder.customerFollowupEntity);
    }

    public static Builder newBuilder() {
        return new Builder();
    }


    public static final class Builder {
        private CustomerFollowupEntity customerFollowupEntity;

        private Builder() {
        }

        public Builder customerRequestModel(CustomerFollowupEntity customerFollowupEntity) {
            this.customerFollowupEntity = customerFollowupEntity;
            return this;
        }

        public EventCustomerFollowupAddSuccess build() {
            return new EventCustomerFollowupAddSuccess(this);
        }
    }
}
